package net.easyjava.tools.id;

import net.easyjava.tools.BaseTools;
import org.bson.types.ObjectId;

/**
 * Created by wenxiaoning on 15/12/27.
 */
public class IDTools extends BaseTools {
    /**
     * 获取mongodb objectId
     * @return
     */
    public static String getObjectId(){
        return new ObjectId().toString();
    }
}
